//
//  OrigPubAddConceptPhotoTextCell.h
//  ShrimpCrowdordering
//
//  Created by jimmy on 2018/8/29.
//  Copyright © 2018年 郑洲. All rights reserved.
//

#import <UIKit/UIKit.h>

@class AddConceptModel;

typedef void(^A_TextViewDidEndEditingBlock)(NSString * text, NSIndexPath * index);
typedef void(^A_BtnSelectBlock)(NSIndexPath * index);
typedef void(^A_TextViewDidBeginEditingBlock)(NSIndexPath * index);


@interface OrigPubAddConceptPhotoTextCell : UITableViewCell


+ (id)cellWithTableView:(UITableView *)tableView andIndexPath:(NSIndexPath *)indexPath andCellHeight:(CGFloat)height;

- (void)hiddenBtnImage:(BOOL)isHidden;
- (void)setImageWith:(AddConceptModel *)model;
- (void)setImageViewWithImage:(UIImage *)image;
- (void)textViewResignFirstResponder;

@property (nonatomic, copy) A_TextViewDidEndEditingBlock   textViewEndEdBlock;
@property (nonatomic, copy) A_TextViewDidBeginEditingBlock  textViewBegEdBlock;
@property (nonatomic, copy) A_BtnSelectBlock  btnSelectBlock;

@end

@interface AddConceptModel : NSObject

@property (nonatomic, strong) NSString * idea;
@property (nonatomic, strong) UIImage  * picImage;
//@property (nonatomic, strong) NSString * pic;

@end
